package com.shyroke.cool.mapper;

import com.shyroke.cool.bean.TypePO;

import java.util.List;

public interface TypePOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TypePO record);

    int insertSelective(TypePO record);

    TypePO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TypePO record);

    int updateByPrimaryKey(TypePO record);

    /**
     * 获取所有type集合
     * @return
     */
    List<TypePO> getTypeList();
}